﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/HubPageDivided.Master" Inherits="Deixei.Web.DeixeiViewPage<dynamic>" %>
<%@ Import Namespace="Deixei.Web" %>
<%--<%@ Import Namespace="System.Web.Http.Data.Helpers" %>--%>

<asp:Content ID="Content2" ContentPlaceHolderID="DocumentBegin" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="PageBegin" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="MainContentBegin" runat="server">
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="HubBegin" runat="server">
</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderID="HubTitle" runat="server">
</asp:Content>

<asp:Content ID="Content8" ContentPlaceHolderID="HubTitleContent" runat="server">
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="RightHubContent" runat="server">
<%--<%: Html.UpshotContext().DataSource<Deixei.WebApplication.Api.CustomerServiceController>(r => r.GetCustomers()) %>--%>
<h2>Customers</h2>
<ul data-bind="foreach: customers">
    <li>
        <div>Id: <em data-bind="text: Id"></em> Name:<strong data-bind="text: Name"></strong></div>
    </li>
</ul>
<h2>Right Index</h2>
    <% using (Html.BeginForm()) { %>

    <%: Html.TextBox("Name") %>
    <input id="Submit1" type="submit" value="submit" />    

    <%} %>
</asp:Content>

<asp:Content ID="Content9" ContentPlaceHolderID="LeftHubContent" runat="server">

<h2>Left Index</h2>

</asp:Content>

<asp:Content ID="Content10" ContentPlaceHolderID="HubEnd" runat="server">
</asp:Content>

<asp:Content ID="Content11" ContentPlaceHolderID="MainContentEnd" runat="server">
</asp:Content>

<asp:Content ID="Content12" ContentPlaceHolderID="PageEnd" runat="server">
</asp:Content>

<asp:Content ID="Content13" ContentPlaceHolderID="ScriptsSection" runat="server">
<script src="/Scripts/App/Sales/Customer.js"></script>    
</asp:Content>